<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
  <title>Title</title>
</head>
<body>
<h2>用户列表</h2>

<a href="">添加</a>
<table border="1" width="800px">
  <tr>
    <th>ID</th>
    <th>姓名</th>
    <th>密码</th>
    <th>性别</th>
    <th>薪资</th>

    <th>操作</th>
  </tr>
  <c:forEach var="u" items="${users}">
    <tr>
      <th>${u.uId}</th>
      <th>${u.uName}</th>
      <th>${u.uPassword}</th>
      <th>${u.uSex}</th>
      <th>${u.uSalary}</th>

      <th>
        <a href="">修改</a>==
        <a href="${pageContext.request.contextPath}del?id=${u.uId}">删除</a>
      </th>

    </tr>
  </c:forEach>
</table>
<script>

</script>
</body>
</html>
